package horncomb.bpm.process.event;

/**
 * @author Daniel
 */
public class Event {
	private String id;
	private String name;

	public boolean support(Object target) {
		return true;
	}

	public void trigger(EventContext context) {
	}

	/**
	 * 是否继续传播事件
	 * @return
	 */
	public boolean isPropagation() {
		return false;
	}

	/**
	 * @return the id
	 */
	public String getId() {
		return id;
	}

	/**
	 * @param id
	 *            the id to set
	 */
	public void setId(String id) {
		this.id = id;
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name
	 *            the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}
}
